package org.example;

import javax.swing.*;
import java.awt.*;

public class DownPanel extends JPanel {
    private ButtonPanel btnP;

    public DownPanel(HiLoFrame hlFrame, UpPanel upPanel, MidPanel midPanel) {
        this.setBackground(Color.WHITE);
        this.setLayout(new BorderLayout());

        this.btnP = new ButtonPanel(hlFrame, upPanel, midPanel);
        this.add(this.btnP, BorderLayout.SOUTH);
    }

    public ButtonPanel getBtnP() {
        return btnP;
    }

    public void setBtnP(ButtonPanel btnP) {
        this.btnP = btnP;
    }
}
